package com.m3958.firstgwt.client.place;

import com.m3958.firstgwt.client.MyPlace;

public class GroupEditPlace extends MyPlace{

	private String parentId;
	
	private String groupId;
	
	public GroupEditPlace(String allParas){
		String[] ss = allParas.split(",");
		this.parentId = ss[0];
		if(ss.length > 1)this.groupId = ss[1];
	}
	
	
	public GroupEditPlace(String parentId,String groupId){
		this.setParentId(parentId);
		this.groupId = groupId;
	}
	
	@Override
	public String getToken() {
		return null;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupId() {
		return groupId;
	}

}
